package com.dyh.quickdemozwei.fc_merge;

import org.junit.jupiter.api.Test;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
import java.util.stream.Collectors;

/**
 * @Author: yhdong
 * @Date: 2021/11/8 13:59
 */
public class FunctionMerge {

    public void fun(Enhancer.EnhanceHint enhanceHint){

        System.out.println();
    }

    @Test
    public void test(){
       // Function function = (Function<String,Integer> & Enhancer.LogTime)String::length;
//        fun(Enhancer.EnhanceHint & );

        Map<String,String> map = new HashMap<>();
        map.put("1","11");
        map.put("2","22");

        List lst = new ArrayList<>(map.values());

        System.out.println();
    }

}
